# coding=utf-8
# 全世界最帅的帅哥
from ysgg1_club_comment.utils.base_serializers import BaseSerializer


class UserSerializer(BaseSerializer):

    def to_dict(self):
        return {
            'username': self.data.username,
            'email': self.data.email,
            'nick_name': self.data.nick_name
        }
